package com.netdisk.dto.request.file;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
@ApiModel(value = "文件上传DTO", description = "上传数据传输对象")
public class UploadDTO {

    @ApiModelProperty(value = "上传的文件",required = true)
    private MultipartFile file;

    @ApiModelProperty(value = "用户ID",required = true)
    private Integer userId;

}
